<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    .box {
      background-color: #cfa;
    }
    .box .first {
      width: 200px;
      height: 200px;
      background-color: #eee;
      float: left;
    }
    .box .second {
      width: 300px;
      height: 250px;
      background-color: gray;
      float: left;
    }
    .footer {
      height: 250px;
      background-color: orangered;
    }
    .clear {
      clear: both;
    }
  </style>
  <body>
    <div class="box">
      <div class="first"></div>
      <div class="second"></div>
      <div class="clear"></div>
    </div>
    <div class="footer"></div>
  </body>
</html>
